package com.imooc.springboot.dubbo.nilinili.service;

import com.imooc.springboot.dubbo.nilinili.entity.dto.CommentDTO;

import java.util.List;

public interface CommentService {
    List<CommentDTO> selectCommentByPhotoId(Integer id);

    boolean addComment(Integer photoId, String token, String content);

    String getCommentByUserId(String token,int pageNum);


    //删除评论
    boolean deleteComment(String id);
}
